package org.wdzl.mapper;

import org.wdzl.pojo.User;

/**
 * @author Administrator 
 */
public interface UserMapper {

    /**
     * 根据用户名查找指定用户对象
     * 
     * @param username
     * @return
     */
    User queryUserNameIsExit(String username);

    /**
     * 保存用户
     * 
     * @param record
     * @return
     */
    int insert(User record);
    
    
/*    int deleteByPrimaryKey(String id);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);*/
}